<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Browser Controler Test</title>
    <script language="javascript" src="Class.js"></script>
    <script language="javascript" src="BrowserControler.js"></script>
</head>

<body>
<script type="text/javascript">
   var BROWSERCONTROLER = new BrowserControler(window.self, function(){alert('execute onClose();');});
   function openwindow(key){
        var opciones = 'width=200,height=100,menubar=NO,Status=NO,titlebar=NO,toolbar=NO,top=100,left=100,scrollbars=NO,resizable=NO';
		BROWSERCONTROLER.openPopup(window,"noneUrl",opciones,key);
   }
</script>
<table width="600" border="1">
  <tr>
    <td><input name="" type="button" value="closeAll" onclick="BROWSERCONTROLER.closeAll();"/></td>
    <td><input name="" type="button" value="openWindow" onclick="openwindow();"/></td>
    <td><input name="" type="button" value="openWindow MAP" onclick="openwindow('MAP');"/></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input name="" type="button" value="setDate" onclick="alert(BROWSERCONTROLER._myWindows.length);"/></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>

</body>
</html>
